// 2023-03-25 09:52:05
import { request } from "express";
import { response } from "express";
import HomeService from "../../service/commonService/homeService.js";
class HomeController {

    /**
     * @param {request} req 
     * @param {response} res 
     * @param {Function} next 
     */
    static async Get(req, res, next) {
        try {
            // 处理req
            // 返回res
            res.header('huily', 'huily')
            res.send({ home: 'home' }).end()
        } catch (error) {
            res.status(404).send(error).end()
        }
    }
}

export default HomeController;